﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Insurance.AM.Dto
{
    /// <summary>
    /// 安馒退保ResponseDto
    /// </summary>
    public class AMCancelResponseDto
    {
        /// <summary>
        /// 交易号 请求时传递的交易号,原样返回
        /// </summary>
        public string TradeCode { get; set; }
        /// <summary>
        /// 安馒用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 处理结果编号  
        /// 0000:报文校验成功,
        /// 0010:交易号流水号重复,
        /// 0001:部分成功,其他均为失败
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 处理结果信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 退保返回保单号集合
        /// </summary>
        public List<PolicyResponseDto> SegmentList { get; set; }
    }

    /// <summary>
    /// 退保返回保单号信息
    /// </summary>
    public class PolicyResponseDto
    {
        /// <summary>
        /// 保单号
        /// </summary>
        public string PolicyCode { get; set; }

        /// <summary>
        /// 处理结果  0000:退保成功
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 处理结果信息
        /// </summary>
        public string Message { get; set; }
    }
}
